package cn.tedu._05mvcboot02.mapper;

import cn.tedu._05mvcboot02.pojo.entity.User;
import cn.tedu._05mvcboot02.pojo.vo.UserListVO1;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;


public interface UserMapper {
    /**
     * 1.添加用户的接口
     */
    int insertUser(User user);
    List<UserListVO1> selectUserList();
    int deleteUser(int id);

    int updateUser(User user);

    User selectUserById(int id);
}